package com.aloda.constant;

public class RegexConstant {

    /**
     * 密码正则。
     */
    public static final String PASSWORD_REGEX = "^(?=.*[A-Za-z])(?=.*\\d)[A-Za-z\\d\\S]{4,16}$";

    /**
     * 邮箱正则
     */
    public static final String EMAIL_REGEX = "^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$";

    /**
     * 姓名正则
     */
    public static final String NAME_REGEX = "^[\\u4e00-\\u9fa5a-zA-Z]{2,16}$";
}
